Simplify GetInterfaces handling
authorMatthias Clasen <mclasen@redhat.com>
Sun, 11 Oct 2020 15:06:29 +0000 (11:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 12 Oct 2020 19:10:40 +0000 (15:10 -0400)
commit776b4aee0ca6685aa135d296b984871b2e2240c4
tree8e20711c10bf066216d33fb3bd1cef5b5cdc4e18
parentd37782c5334eddd4b056b6ef6532d897d83e4d2e
Simplify GetInterfaces handling

It is error prone to keep the same conditions in sync
in two places. Instead, just assemble the list of interfaces
as we register objects, and use when GetInterfaces is called.
gtk/a11y/gtkatspicontext.c